How to cancel a report that does not contain any records.





In the Reports Design view, use the 'On No Data' property box in the property sheet to assign a 'Cancel Event' macro to the report.

    1) If the Database window is not active, activate the Database window.
    2) Choose the 'Reports' tab.
    < Reports tab >
    3) Select the desired report. (The selected report is highlighted.)
    4) Choose the 'Design' button.
    5) Select the 'View' menu and select 'Properties'. (The property sheet appears.)
    6) Choose the 'Event' tab.
    7) Click on the 'On No Data' box. (A build button appears.)
    8) Choose the 'Build' button. (The Choose Builder dialog box appears.)
    9) Select 'Macro Builder' from the 'Choose Builder' list box.
    10) Choose 'OK'. (The Save As dialog box appears.)
    11) Enter the desired name for the macro in the 'Macro Name' box.
    12) Choose 'OK'. (The Macro grid appears.)
    13) Click on the down arrow of the 'Action' box.
    14) Select 'Cancel Event' from the 'Action' drop-down list.
    15) Select the 'File' menu and select 'Save' to save changes to the macro.
    16) Click on the 'X' in the upper right corner of the 'Macro' window to close the macro.
    17) Select the 'File' menu and select 'Save' to save changes to the report.


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.